package com.ynet.middleground.mobile.approve.request;

import java.util.List;

import javax.validation.constraints.NotBlank;

import com.ynet.middleground.approve.bean.CommentFile;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 项目名：ifp-mobile-approve <br>
 * 包名：com.ynet.middleground.mobile.approve.request <br>
 * 类名：RecallBackTaskReq <br>
 * 描述：
 *
 * @author Suremotoo
 * @create 2021-03-28 22:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "退回服务处理请求信息")
public class RecallBackTaskReq extends BaseTaskReq {

    private static final long serialVersionUID = -5645036856797669365L;

    @NotBlank(message = "流程实例 id 不能为空")
    @ApiModelProperty(value = "流程实例 id", required = true)
    private String processInstanceId;

    @NotBlank(message = "审批处理意见不能为空")
    @ApiModelProperty(value = "审批处理意见", required = true)
    private String comment;

    @ApiModelProperty(value = "审批意见附件列表")
    private List<CommentFile> commentFiles;
}
